package com.example.gulimallcoupon.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 商品满减信息
 * 
 * @author zzl
 * @email zzl@gmail.com
 * @date 2025-10-27 08:42:24
 */
//@Data
@TableName("sms_sku_full_reduction")
public class SkuFullReductionEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * spu_id
	 */
	private Long skuId;
	/**
	 * 满多少
	 */
	private BigDecimal fullPrice;
	/**
	 * 减多少
	 */
	private BigDecimal reducePrice;
	/**
	 * 是否参与其他优惠
	 */
	private Integer addOther;

	public SkuFullReductionEntity() {
	}

	public SkuFullReductionEntity(Long id, Long skuId, BigDecimal fullPrice, BigDecimal reducePrice, Integer addOther) {
		this.id = id;
		this.skuId = skuId;
		this.fullPrice = fullPrice;
		this.reducePrice = reducePrice;
		this.addOther = addOther;
	}

	/**
	 * 获取
	 * @return id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * 设置
	 * @param id
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * 获取
	 * @return skuId
	 */
	public Long getSkuId() {
		return skuId;
	}

	/**
	 * 设置
	 * @param skuId
	 */
	public void setSkuId(Long skuId) {
		this.skuId = skuId;
	}

	/**
	 * 获取
	 * @return fullPrice
	 */
	public BigDecimal getFullPrice() {
		return fullPrice;
	}

	/**
	 * 设置
	 * @param fullPrice
	 */
	public void setFullPrice(BigDecimal fullPrice) {
		this.fullPrice = fullPrice;
	}

	/**
	 * 获取
	 * @return reducePrice
	 */
	public BigDecimal getReducePrice() {
		return reducePrice;
	}

	/**
	 * 设置
	 * @param reducePrice
	 */
	public void setReducePrice(BigDecimal reducePrice) {
		this.reducePrice = reducePrice;
	}

	/**
	 * 获取
	 * @return addOther
	 */
	public Integer getAddOther() {
		return addOther;
	}

	/**
	 * 设置
	 * @param addOther
	 */
	public void setAddOther(Integer addOther) {
		this.addOther = addOther;
	}

	public String toString() {
		return "SkuFullReductionEntity{id = " + id + ", skuId = " + skuId + ", fullPrice = " + fullPrice + ", reducePrice = " + reducePrice + ", addOther = " + addOther + "}";
	}
}
